GET api/programs/price?programIds[0]={programIds[0]}&programIds[1]={programIds[1]}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programIds

Collection of globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ProgramPrice
NameDescriptionTypeAdditional information
ProgramId

globally unique identifier

None.

ProductsPrice

Collection of ProductPrice

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProgramId": "b8688e06-af57-4539-b1e9-cf09c711f5e6",
    "ProductsPrice": [
      {
        "Name": "sample string 1",
        "ProductId": "8cde48a3-629b-4ac5-9f26-9f28c5f4c8a7",
        "Price": {
          "Value": 1.0
        }
      },
      {
        "Name": "sample string 1",
        "ProductId": "8cde48a3-629b-4ac5-9f26-9f28c5f4c8a7",
        "Price": {
          "Value": 1.0
        }
      }
    ]
  },
  {
    "ProgramId": "b8688e06-af57-4539-b1e9-cf09c711f5e6",
    "ProductsPrice": [
      {
        "Name": "sample string 1",
        "ProductId": "8cde48a3-629b-4ac5-9f26-9f28c5f4c8a7",
        "Price": {
          "Value": 1.0
        }
      },
      {
        "Name": "sample string 1",
        "ProductId": "8cde48a3-629b-4ac5-9f26-9f28c5f4c8a7",
        "Price": {
          "Value": 1.0
        }
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfProgramPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.BL.Models">
  <ProgramPrice>
    <ProductsPrice>
      <ProductPrice>
        <Name>sample string 1</Name>
        <Price xmlns:d5p1="http://schemas.microsoft.com/xrm/2011/Contracts">
          <d5p1:Value>1</d5p1:Value>
        </Price>
        <ProductId>8cde48a3-629b-4ac5-9f26-9f28c5f4c8a7</ProductId>
      </ProductPrice>
      <ProductPrice>
        <Name>sample string 1</Name>
        <Price xmlns:d5p1="http://schemas.microsoft.com/xrm/2011/Contracts">
          <d5p1:Value>1</d5p1:Value>
        </Price>
        <ProductId>8cde48a3-629b-4ac5-9f26-9f28c5f4c8a7</ProductId>
      </ProductPrice>
    </ProductsPrice>
    <ProgramId>b8688e06-af57-4539-b1e9-cf09c711f5e6</ProgramId>
  </ProgramPrice>
  <ProgramPrice>
    <ProductsPrice>
      <ProductPrice>
        <Name>sample string 1</Name>
        <Price xmlns:d5p1="http://schemas.microsoft.com/xrm/2011/Contracts">
          <d5p1:Value>1</d5p1:Value>
        </Price>
        <ProductId>8cde48a3-629b-4ac5-9f26-9f28c5f4c8a7</ProductId>
      </ProductPrice>
      <ProductPrice>
        <Name>sample string 1</Name>
        <Price xmlns:d5p1="http://schemas.microsoft.com/xrm/2011/Contracts">
          <d5p1:Value>1</d5p1:Value>
        </Price>
        <ProductId>8cde48a3-629b-4ac5-9f26-9f28c5f4c8a7</ProductId>
      </ProductPrice>
    </ProductsPrice>
    <ProgramId>b8688e06-af57-4539-b1e9-cf09c711f5e6</ProgramId>
  </ProgramPrice>
</ArrayOfProgramPrice>